package com.ruoyi.mobile.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

public class HuaweiHealthWeekStatVo {

    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    @Excel(name = "user.id")
    private Integer userId;

    @Excel(name = "姓名")
    private String nickname;

    @Excel(name = "手机号")
    private String phone;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthday;

    @Excel(name = "出生日期")
    private String birthdayStr;

    private Integer age;

    @Excel(name = "年龄")
    private String ageStr;

    @Excel(name = "身高")
    private String height;

    @Excel(name = "体重")
    private String weight;

    /** 统计时间(开始) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate statStartDate;

    /** 统计时间(结束) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate statEndDate;

    @Excel(name = "统计时间")
    private String statDate;

    @Excel(name = "平均步数(天)")
    private BigDecimal steps;

    @Excel(name = "平均消耗卡路里(千卡/天)")
    private BigDecimal calories;

    /** 最大心率(次/分钟) */
    @Excel(name = "最大心率(次/分钟)")
    private BigDecimal maxHeartrate;

    /** 最小心率(次/分钟) */
    @Excel(name = "最小心率(次/分钟)")
    private BigDecimal minHeartrate;

    /** 平均心率(次/分钟) */
    @Excel(name = "平均心率(次/分钟)")
    private BigDecimal meanHeartrate;

    /** 最大血氧饱和度(%) */
    @Excel(name = "最大血氧饱和度(%)")
    private BigDecimal maxSpo2;

    /** 最小血氧饱和度(%)  */
    @Excel(name = "最小血氧饱和度(%)")
    private BigDecimal minSpo2;

    /** 平均血氧饱和度(%)  */
    @Excel(name = "平均血氧饱和度(%)")
    private BigDecimal meanSpo2;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "首次绑定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime bindTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getStatDate() {
        return statDate;
    }

    public void setStatDate(String statDate) {
        this.statDate = statDate;
    }

    public BigDecimal getSteps() {
        return steps;
    }

    public void setSteps(BigDecimal steps) {
        this.steps = steps;
    }

    public BigDecimal getCalories() {
        return calories;
    }

    public void setCalories(BigDecimal calories) {
        this.calories = calories;
    }

    public LocalDateTime getBindTime() {
        return bindTime;
    }

    public void setBindTime(LocalDateTime bindTime) {
        this.bindTime = bindTime;
    }

    public LocalDate getStatStartDate() {
        return statStartDate;
    }

    public void setStatStartDate(LocalDate statStartDate) {
        this.statStartDate = statStartDate;
    }

    public LocalDate getStatEndDate() {
        return statEndDate;
    }

    public void setStatEndDate(LocalDate statEndDate) {
        this.statEndDate = statEndDate;
    }

    public String getBirthdayStr() {
        return birthdayStr;
    }

    public void setBirthdayStr(String birthdayStr) {
        this.birthdayStr = birthdayStr;
    }

    public String getAgeStr() {
        return ageStr;
    }

    public void setAgeStr(String ageStr) {
        this.ageStr = ageStr;
    }

    public BigDecimal getMaxHeartrate() {
        return maxHeartrate;
    }

    public void setMaxHeartrate(BigDecimal maxHeartrate) {
        this.maxHeartrate = maxHeartrate;
    }

    public BigDecimal getMinHeartrate() {
        return minHeartrate;
    }

    public void setMinHeartrate(BigDecimal minHeartrate) {
        this.minHeartrate = minHeartrate;
    }

    public BigDecimal getMeanHeartrate() {
        return meanHeartrate;
    }

    public void setMeanHeartrate(BigDecimal meanHeartrate) {
        this.meanHeartrate = meanHeartrate;
    }

    public BigDecimal getMaxSpo2() {
        return maxSpo2;
    }

    public void setMaxSpo2(BigDecimal maxSpo2) {
        this.maxSpo2 = maxSpo2;
    }

    public BigDecimal getMinSpo2() {
        return minSpo2;
    }

    public void setMinSpo2(BigDecimal minSpo2) {
        this.minSpo2 = minSpo2;
    }

    public BigDecimal getMeanSpo2() {
        return meanSpo2;
    }

    public void setMeanSpo2(BigDecimal meanSpo2) {
        this.meanSpo2 = meanSpo2;
    }
}
